package org.jvending.provisioning.config.matchers;

public class ObjectFactory {
    private org.apache.ws.jaxme.impl.JAXBContextImpl jaxbContext;

    private java.util.Map properties;


    public ObjectFactory() throws javax.xml.bind.JAXBException {
        jaxbContext = (org.apache.ws.jaxme.impl.JAXBContextImpl) javax.xml.bind.JAXBContext.newInstance("org.jvending.provisioning.config.matchers");
    }

    public java.lang.Object newInstance(java.lang.Class pElementInterface) throws javax.xml.bind.JAXBException {
        return jaxbContext.getManager(pElementInterface).getElementJ();
    }

    public java.lang.Object getProperty(java.lang.String pName) {
        if (properties == null) {
            return null;
        }
        return properties.get(pName);
    }

    public void setProperty(java.lang.String pName, java.lang.Object pValue) {
        if (properties == null) {
            properties = new java.util.HashMap();
        }
        properties.put(pName, pValue);
    }

    public org.jvending.provisioning.config.matchers.Matchers createMatchers() throws javax.xml.bind.JAXBException {
        return (org.jvending.provisioning.config.matchers.Matchers) newInstance(org.jvending.provisioning.config.matchers.Matchers.class);
    }

    public org.jvending.provisioning.config.matchers.MatchersType createMatchersType() throws javax.xml.bind.JAXBException {
        return (org.jvending.provisioning.config.matchers.MatchersType) newInstance(org.jvending.provisioning.config.matchers.MatchersType.class);
    }

    public org.jvending.provisioning.config.matchers.Matcher createMatcher() throws javax.xml.bind.JAXBException {
        return (org.jvending.provisioning.config.matchers.Matcher) newInstance(org.jvending.provisioning.config.matchers.Matcher.class);
    }

    public org.jvending.provisioning.config.matchers.MatcherType createMatcherType() throws javax.xml.bind.JAXBException {
        return (org.jvending.provisioning.config.matchers.MatcherType) newInstance(org.jvending.provisioning.config.matchers.MatcherType.class);
    }

    public org.jvending.provisioning.config.matchers.InitParam createInitParam() throws javax.xml.bind.JAXBException {
        return (org.jvending.provisioning.config.matchers.InitParam) newInstance(org.jvending.provisioning.config.matchers.InitParam.class);
    }

    public org.jvending.provisioning.config.matchers.InitParamType createInitParamType() throws javax.xml.bind.JAXBException {
        return (org.jvending.provisioning.config.matchers.InitParamType) newInstance(org.jvending.provisioning.config.matchers.InitParamType.class);
    }

}
